// Student.cpp: implementation of the Student class.
//
//////////////////////////////////////////////////////////////////////

#include "Student.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Student::Student()
{
	m_age=0;
	m_name[0]=0;//?????

}

Student::~Student()
{

}
void Student::printAge()
{
	cout<<"My age is:"<<m_age<<endl;
}
void Student::printName()
{
	cout<<"My name is:"<<m_name<<endl;
}
void Student::setAge(int age)
{
	m_age=age;
}
void Student::setName(char *name)
{
	strcpy(m_name,name);
}

void Student::printStudent()
{
	cout<<"I'm a student!"<<endl;

}
